package com.example.fengyuwuzu2.http.service;

import com.example.fengyuwuzu2.http.bean.News;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface NewsService {
    @GET("toutiao/index")
    Observable<News> getNews(@Query("key")String key, @Query("type")String type);
}
